﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="jnxc.Web.Index" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>林业有害生物防治信息管理平台</title>
    <link href="CSS/Index.css" rel="stylesheet" />
<script src="Script/easyui/jquery.min.js"></script>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script language="javascript">
        function CheckForm() {
            if ($('#txtName').val() == "") {
                alert("请输入用户名！");
                document.Login.yhm.focus();
                return false;
            }
            if ($('#txtName').val() == "用户名") {
                alert("请输入用户名！");                
                return false;
            }
            if ($('#txtPwd').val() == "") {
                alert("请输入密码！");
                document.Login.mima.focus();
                return false;
            }
            if ($('#txtPwd').val() == "密码") {
                alert("请输入密码！");                
                return false;
            }
            if ($('#txtCode').val() == "") {
                alert("请输入您的验证码！");                
                return (false);
            }
            if ($('#txtCode').val() == "验证码") {
                alert("请输入您的验证码！");                
                return (false);
            }
        }
        function changetxtf(s,t,c) {
            if ($(s).val() == t) {
                $(s).val("");
                $(s).attr("class", c);
            }
        }
        function changetxtb(s, t, c) {
            if ($(s).val() == "") {
                $(s).val(t);
                $(s).attr("class", c);
            }
        }
        
       
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="bg">
            <div class="flash">
                <div style="float:left;width:600px;">
                <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400">
                    <param name="movie" value="images/9.swf" />
                    <param name="quality" value="high" />
                    <param name="wmode" value="transparent" />
                    <param name="swfversion" value="6.0.65.0" />
                    <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
                    <param name="expressinstall" value="images/expressInstall.swf" />
                    <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
                    <!--[if !IE]>-->
                    <object type="application/x-shockwave-flash" data="images/9.swf" width="550" height="400">
                        <!--<![endif]-->
                        <param name="quality" value="high" />
                        <param name="wmode" value="transparent" />
                        <param name="swfversion" value="6.0.65.0" />
                        <param name="expressinstall" value="images/expressInstall.swf" />
                        <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
                        <div>
                        </div>
                        <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
                    </div>
                
                <div class="srk">
                    <ul>
                        <li>
                            <asp:TextBox ID="txtName" CssClass="txt" runat="server" Text="用户名" onfocus="changetxtf(this,'用户名','txt1')" onblur="changetxtb(this,'用户名','txt')"></asp:TextBox></li>
                        <li>
                            <asp:TextBox ID="txtPwd" CssClass="txt" runat="server" Text="密码" onfocus="changetxtf(this,'密码','txt1')" onblur="changetxtb(this,'密码','txt')" TextMode="Password"></asp:TextBox></li>
                        <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:CheckBox runat="server" ID="chkpwd" name="jzmm" value="1" />&nbsp;记住密码</li>
                        <li>
                            <asp:Button ID="btnLogin" runat="server" Text="" CssClass="sub" OnClick="btnLogin_Click" /></li>
                    </ul>
                </div>
                <div style="clear:both;"></div>
            </div>
            <div style="clear:both;"></div>
        </div>
    </form>
</body>
</html>
